package abacab.ext;

import abacab.ActorSystem;

import com.typesafe.config.ConfigException;

/**
 * The extension for remoting
 */
public class SerializationExtensionProvider implements ExtensionProvider<SerializationExtension> {
	/** The extension's id. */
	public static final String													ID				= "serialization";

	/** The instance of the provider */
	public static final SerializationExtensionProvider	INSTANCE	= new SerializationExtensionProvider();

	@Override
	public String getId() {
		return ID;
	}

	@Override
	public SerializationExtension create(ActorSystem actorSystem) throws ConfigException {
		return new SerializationExtension(actorSystem);
	}
}